﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BrnMall.Business;
using BrnMall.Core;
using BrnMall.Manager.Manager.WeApp;
using BrnMall.Services;

namespace BrnMall.EventStrategy.Timer
{
    /// <summary>
    /// 小程序自动运维Job
    /// </summary>
    public class WeAppReleaseEvent:IEvent
    {
        public void Execute(object eventInfo)
        {
            //var e = (EventInfo)eventInfo;
            //var releaseApps = StoreApplicationManager.GetStoreApplicationsByStatus(4);
            //foreach (var app in releaseApps)
            //{
            //    StoreAppReleaseManager.ReleaseStoreApp(app.StoreAppId);
            //}
            //EventLogs.CreateEventLog(e.Key, e.Title, Environment.MachineName, DateTime.Now);
        }
    }
}
